package com.study.pojo.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Heartbeat {
    private Integer id;
    @NotNull(message = "标题不能为空")
    private String title;
    private Date date;
    private Integer score;
    private String addMin;
    private Integer totalPoints;
    private String info;
    private Integer userId;
    private Integer loveId;
    private String exchangePoint;
}
